﻿@model sgp.Models.LogOnModel
@{
    ViewBag.Title = "Login";
    Layout = "";
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Turbo-send - Responsive Admin Template | Fluid design | Dashboard</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Turbo send">
    <style type="text/css">
        body
        {
            padding-top: 60px;
            padding-bottom: 40px;
        }
    </style>
    <!--  styles -->
    <link href="@Url.Content("~/Content/bootstrap.min.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/style.css")" rel="stylesheet" type="text/css" />
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
    <!-- fav and touch icons -->
    <link rel="shortcut icon" href="../../img/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../img/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../img/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../img/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="../../img/ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
    <div class="container-fluid">
        <div class="row-fluid">
            <div class='singin' style='display: block;'>
                <div class="accounts-form">
                    <h2>
                        Digite Seu Login e Senha</h2>
                    <hr class="small">
                    <form id="auth-form" action="/Account/LogOn" method="post" class="clearfix" autocomplete="off">                    
                    <div class="input">                        
                        <div>
                            @Html.TextBoxFor(m => m.UserName, new { placeholder = "Login" })
                            @Html.ValidationMessageFor(m => m.UserName)
                        </div>
                    </div>
                    <div class="input">                        
                        @Html.PasswordFor(m => m.Password, new { placeholder = "Senha" })
                        @Html.ValidationMessageFor(m => m.Password)
                    </div>
                    
                    <div class="actions">
                        <input type="submit" class="btn btn-success" value="Login">
                    </div>
                    <table class = " pull-left">
                    <div class="input ">
                        @Html.CheckBoxFor(m => m.RememberMe)
                        @Html.LabelFor(m => m.RememberMe)
                    </div>
                    </table>
                    </form>
                </div>
            </div>
        </div>
</body>
<center>        
            <footer>
               <div>
                    
                    <p>&copy; Todos os Diereitos Reservados a Paroquia Santissima Trindade </p> 
               </div>
            </footer>
            </center>
</html>
<!--/.fluid-container-->
<!-- Le javascript
        ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="@Url.Content("~/Scripts/jquery-1.8.0.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/bootstrap.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/application.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/highcharts.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/exporting.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script type="text/javascript">    $('a').tooltip('hide')</script>
<script type="text/javascript">
    $('.note a').click(function () {
        $('.singup').toggle(1000);
        $('.singin').toggle(1000);


    });

        </script>
@*<form action="/Account/LogOn" method="post">
                    <div>
                        <div id="block-top" class="well">
                            <fieldset>
                                <legend>Informações do Usuário</legend>
                                <div>
                                    Nome do usuário
                                </div>
                                <div class="editor-field">
                                    <input data-val="true" data-val-required="O campo User name &amp;#233; obrigat&amp;#243;rio."
                                        id="UserName" name="UserName" type="text" value="" />
                                    <span class="field-validation-valid" data-valmsg-for="UserName" data-valmsg-replace="true">
                                    </span>
                                </div>
                                <div>
                                    Senha
                                </div>
                                <div class="editor-field">
                                    <input data-val="true" data-val-required="O campo Password &amp;#233; obrigat&amp;#243;rio."
                                        id="Password" name="Password" type="password" />
                                    <span class="field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true">
                                    </span>
                                </div>
                                <div class="editor-label">
                                    <input data-val="true" data-val-required="O campo Remember me? &amp;#233; obrigat&amp;#243;rio."
                                        id="RememberMe" name="RememberMe" type="checkbox" value="true" /><input name="RememberMe"
                                            type="hidden" value="false" />
                                    <label for="RememberMe">
                                        Remember me?</label>
                                </div>
                                <table border="0" width="20%" cellpadding="5">
                                    <tr>
                                        <th>
                                            <input class="btn btn-success" type="submit" value="Login" />
                                        </th>
                                        <th>
                                            <input id="RememberMe" type="checkbox" value="true" name="RememberMe" data-val-required="O campo Remember me? &#233; obrigat&#243;rio."
                                                data-val="true">
                                            <input type="hidden" value="false" name="RememberMe">
                                        </th>
                                        <th>
                                            <label for="RememberMe">
                                                Relembre-me</label>
                                        </th>
                                    </tr>
                                </table>
                            </fieldset>
                        </div>
                    </div>
                    </form>
                </div>
            </div>
        </div>

        </body>
</html>
<h2>
    Login</h2>
<p>
    Digite seu nome de usuário e senha. @Html.ActionLink("Registre-se", "Register")
    se você não tiver uma conta.
</p>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@Html.ValidationSummary(true, "Você digitou senha ou login errado, por favor corrija os erros e tente novamente.")
@using (Html.BeginForm())
{
    
    <div>
        <div id="block-top" class="well">
            <fieldset>
                <legend>Informações do Usuário</legend>
                <div>
                    Nome do usuário
                </div>
                <div class="editor-field">
                    @Html.TextBoxFor(m => m.UserName)
                    @Html.ValidationMessageFor(m => m.UserName)
                </div>
                <div>
                    Senha
                </div>
                <div class="editor-field">
                    @Html.PasswordFor(m => m.Password)
                    @Html.ValidationMessageFor(m => m.Password)
                </div>
                <div class="editor-label">
                    @Html.CheckBoxFor(m => m.RememberMe)
                    @Html.LabelFor(m => m.RememberMe)
                </div>
                <table border="0" width="20%" cellpadding="5">
                    <tr>
                        <th>
                            <input class="btn btn-success" type="submit" value="Login" />
                        </th>
                        <th>
                            <input id="RememberMe" type="checkbox" value="true" name="RememberMe" data-val-required="O campo Remember me? &#233; obrigat&#243;rio."
                                data-val="true">
                            <input type="hidden" value="false" name="RememberMe">
                        </th>
                        <th>
                            <label for="RememberMe">
                                Relembre-me</label>
                        </th>
                    </tr>
                </table>
            </fieldset>
        </div>
    </div>*@